<?php

/**
* @current cmsroleresource.php
* @author   Caoqicheng <caoqicheng@haibao.com>
* @date 2017年2月22日 下午17:41:03
*/
namespace haibao\jiepai\model\data\user;

class CmsResource extends \haibao\jiepai\model\data\Base{

    public $Name;
 
    public $Auth;
    
    public $CreateTime;
    
    public function __construct(){
        parent::__construct();
        $this->setColumnName('Id', 'ResourceID');
        
        $this->stringField('Name', 'Name',true);
        $this->stringField('Auth', 'Auth',true);
        $this->dateField('CreateTime', 'CreateTime',true);

        $this->setTableName('cms_resource');
    }
}

